﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Microsoft.Office.Interop.Excel;

namespace ObjectModel.Excel
{
    /// <summary>
    /// An Excel range object that can resolve itself from serializable info.
    /// </summary>
    [XmlInclude(typeof(ResolvableLiteralRange)),
    XmlInclude(typeof(ResolvableLookUpStepRange))]
    public abstract class ResolvableRange
    {
        public abstract ResolvableWorkbook Workbook { get; set;  }
        
        public abstract Range Resolve();
    }
}
